﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerService.Interface
{
     [ServiceContract]
    interface ILoaiTaiKhoan
    {
        [OperationContract]
        IEnumerable<LOAITAIKHOAN> GetByAllLoaiTaiKhoan();

        [OperationContract]
        String InsertLoaiTaiKhoan(LOAITAIKHOAN data);

        [OperationContract]
        String UpdateLoaiTaiKhoan(LOAITAIKHOAN data);

        [OperationContract]
        String DeleteLoaiTaiKhoan(string id);

        [OperationContract]
        IEnumerable<LOAITAIKHOAN> GetByTopLoaiTaiKhoan(string _top, string _where, string _order);

        [OperationContract]
        String ApproveLoaiTaiKhoan(LOAITAIKHOAN data);
    }
}
